package cc.web.vaaking.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MiscMapper {

    @Insert("insert into sys_user_vacation values(#{userId},#{vacationId})")
    int addUserVactionRecord(@Param("userId") int userId ,@Param("vacationId") int vacationId);


    @Insert("insert into sys_user_role values(#{userId},#{roleId})")
    int addUserRole(@Param("userId") int userId ,@Param("roleId") int roleId);

}
